/**
 * 
 */
package org.ucn.dmaa0914.gruppe6;

/**
 * @author Kim Johannsen
 * @version 09-12-2014
 *
 */
public class Item extends IdObject {
	private String barcode;
	private String title;
	private double price;
	private String currency;
	
	public Item()
	{
		super();
		title = "";
		barcode = "";
		currency = "";
		price = 0.0;
	}
	
	/**
	 * 
	 * @return The barcode of this item
	 */
	public String getBarcode()
	{
		return barcode;
	}
	
	public void setBarcode(String barcode)
	{
		this.barcode = barcode;
	}
	
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}

	/**
	 * @return the currency
	 */
	public String getCurrency() {
		return currency;
	}

	/**
	 * @param currency the currency to set
	 */
	public void setCurrency(String currency) {
		this.currency = currency;
	}
}
